#include <stdio.h>
#include "645org.h"


extern const struct stCODE fpD00[] ;

const struct stCODE main645FunP[]=
{
		{ 0x34 ,  0, fpD00},
		{ 0x12 ,  0, fpD00},
		{0xff , 0x80 ,0}
 
};

	extern 	int 	ii;


struct stCODE  * search_645lib( u32 lCode )
{
		u8 *code645 = ( u8 *)&lCode;
	 struct stCODE  *p =  main645FunP; 
		u8 i;
	 
		 FunPoint    pp ;
			
		for (  i = 0 ; (( i<4 ) &&   !( p->cCon & 0x80) ); p =p->fp ,i++)
							for ( ; (( p->cCode != code645[i] ) && (p->fp != 0 )); p++);
		
	 
				
		pp =    (  FunPoint  )(p->fp) ;
		 
			(*pp)();
		i = ii;
} 		